#include("../../common/_container.html")
#define content()
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="userInfoForm">
			
			<input type="hidden" name="id" id="id" value="#(user.id)">
			<input type="hidden" name="sex" id="sexValue" value="#(user.sex??)">

			
			<div class="row">
				<div class="col-sm-6 b-r">
					#JplusInput(id='account',name='账户',value=user.account,underline=true)
					#JplusSelect(id='sex',name='性别',underline=true)
						<option value="1">男</option>
						<option value="2">女</option>
					#end
					#JplusInput(id='email',name='邮箱',value=user.email,underline=true)
					#JplusInput(id='phone',name='电话',value=user.phone,underline=true)
				</div>
				<div class="col-sm-6">
					<div id="driverInfoContent">
						#JplusInput(id='name',name='姓名',value=user.name,underline=true)
						#JplusInput(id='birthday',name='出生日期',value=user.birthday,onclick="laydate({istime: false, format: 'YYYY-MM-DD'})",underline=true)
						#JplusInput(id='deptName',name='部门',value=user.deptName,onclick="UserInfoDlg.showDeptSelectTree(); return false;",readonly="readonly",hidden="user.deptid",hiddenValue=user.deptid,underline=true,style='background-color= #ffffff !important;')
					</div>
				</div>
			</div>

			<!-- 这是部门选择的下拉框 -->
			<div id="menuContent" class="menuContent"
				style="display: none; position: absolute; z-index: 200;">
				<ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					#JplusButton(id='ensure',name='提交',onclick='UserInfoDlg.editSubmit()',icon='fa-check',spaceCss=false)
					#JplusButton(id='cancel',name='取消',onclick='UserInfoDlg.close()',icon='fa-eraser')
				</div>
			</div>
		</div>

	</div>
</div>
<script src="#(CPATH)/static/module/admin/user/user_info.js"></script>
#end
